﻿using System;
using System.Text;
using ProtoBuf;

namespace GeneralDFS.DataEntity.Config
{
    [ProtoContract]
    [Serializable]
    public class DetailConfig
    {
        [ProtoMember(1,IsRequired = true)]
        public String Mode { get; set; }

        [ProtoMember(2, IsRequired = true)]
        public int BlockSize { get; set; }

        [ProtoMember(3, IsRequired = true)]
        public int BuffSize { get; set; }

        [ProtoMember(4, IsRequired = true)]
        public int HeartBeat { get; set; }

        [ProtoMember(5, IsRequired = true)]
        public int CopyTimes { get; set; }

        [ProtoMember(6,IsRequired = true)]
        public String HeartBeatHash { get; set; }
    }
}
